home *** CD-ROM | disk | FTP | other *** search
- Path: nuclear.microserve.net!news
- From: tcornett@leba.net (Tom Cornett)
- Newsgroups: comp.lang.c++
- Subject: repainting a window
- Date: Thu, 14 Mar 1996 05:55:01 GMT
- Organization: PNPA
- Message-ID: <4i81p1$q8h@crash.microserve.net>
- NNTP-Posting-Host: 206.228.72.33
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am working on a program to display GIF files using Borland C++ 4.0.
- The program is being compiled as a windows 16-bit executable. I can
- display the gif file, but as soon as it is displayed, it disappeared.
- I couldn't find any misplaced Invalidate() functions and found out
- that after the image dissappears, the paint message is sent. I'm
- pretty much sure that it is sent after the SetPixel() function is
- called. Does anyone have any suggestions on how to get around this
- problem? I have already tried to redisplay the image everytime the
- Paint message is received, but since the Paint message is sent after
- the SetPixel() command, it throws it into an infinate loop constantly
- redisplaying the image. Any help would be appreciated.
-
- Please e-mail any replies to any of the following addresses.
- <tcornett@leba.net>
- <tomc@paol.pnpa.com>
-
- Thank you to anyone who replies.
-
- Tom Cornett
-
-